<div class="right-box">
	<div class="same-floor">
		<h3>说明</h3>
		<p>获取支付方式</p>
	</div>
	<div class="same-floor">
		<h3>API</h3>
		<p>/api/mobile/order/payment.do</p>
		<div class="need-parameter">
			<h4><span class="w100">参数</span><span class="w100">说明</span><span class="w380">备注</span></h4>
			<p><span class="w100 important">无</span><span class="w100">无</span><span class="w380">无</span></p>
		</div>
	</div>
	<div class="same-floor">
		<h3>示例代码</h3>
		<div class="sample-code">
			<b>		var url = getFullUrl('/api/mobile/order/payment.do');
			<b>		var options = {
			<b><i></i>			url : url,
			<b><i></i>			success : function(data) {
			<b><i></i><i></i>				if (data.result == 1) {
			<b><i></i><i></i><i></i>					alert(JSON.stringify(data));
			<b><i></i><i></i>				} else {
			<b><i></i><i></i><i></i>					e$.alert("获取资源失败，请稍后重试。");
			<b><i></i><i></i>				}
			<b><i></i>			}
			<b>		};
			<b>		e$.ajax(options);
		</div>
		<span class="result-intro">
			<em>调用结果：</em>
			<h5>
				{
    "result": 1,
    "message": null,
    "data": {
        "payment": [
            {
                "id": 1,
                "name": "支付宝",
                "config": "{\"callback_encoding\":\"UTF-8\",\"ajax\":\"yes\",\"return_encoding\":\"UTF-8\",\"partner\":\"test\",\"seller_email\":\"test\",\"key\":\"test\"}",
                "biref": "<p>\n\t相关参数请到后台修改</p>\n",
                "pay_fee": null,
                "type": "alipayDirectPlugin"
            },
            {
                "id": 2,
                "name": "快钱",
                "config": "{\"callback_encoding\":\"\",\"return_encoding\":\"\",\"partner\":\"test\",\"key\":\"test\"}",
                "biref": "<p>\n\t请到后台修改相关参数</p>\n",
                "pay_fee": null,
                "type": "billPlugin"
            },
            {
                "id": 3,
                "name": "货到付款",
                "config": "{}",
                "biref": "<p>\n\t请到后台修改相应参数</p>\n",
                "pay_fee": null,
                "type": "cod"
            },
            {
                "id": 4,
                "name": "银行汇款",
                "config": "{}",
                "biref": "<p>\n\t工商银行：8888888，户名test</p>\n",
                "pay_fee": null,
                "type": "offline"
            }
        ]
    }
}
			</h5>
		</span>	
	</div>

</div>